package xyz.xiaomuyu.moment_read_app.bean;

import java.util.Date;

public class Article {
    private String articleId;
    private String name;
    private String content;
    private Integer likeNum;
    private Integer commentNum;
    private Integer viewNum;
    private Date createTime;

    @Override
    public String toString() {
        return "Article{" +
                "articleId='" + articleId + '\'' +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", likeNu   m=" + likeNum +
                ", commentNum=" + commentNum +
                ", viewNum=" + viewNum +
                ", createTime=" + createTime +
                '}';
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public Integer getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Article(String articleId, String name, String content, Integer likeNum, Integer commentNum, Integer viewNum, Date createTime) {
        this.articleId = articleId;
        this.name = name;
        this.content = content;
        this.likeNum = likeNum;
        this.commentNum = commentNum;
        this.viewNum = viewNum;
        this.createTime = createTime;
    }
}
